package za.ac.nmmu.muhelp.comms;


//
// these imports are for XMPP
//
import org.jivesoftware.smack.XMPPConnection;



public class Connection {

	private XMPPConnection xmppConnection;
	private XMPPListenerThread xmppListenerThread;
	private String name;

public Connection() {
}

public String getName() {
	return name;
}

public void setName(String name) {
	this.name =name;
}

public XMPPConnection getXMPPConnection() {
	return xmppConnection;
}

public void setXMPPConnection(XMPPConnection xmppConnection) {
	this.xmppConnection = xmppConnection;
}

public XMPPListenerThread getXMPPListenerThread() {
	return xmppListenerThread;
}

public void setXMPPListenerThread(XMPPListenerThread xmppListenerThread) {
	this.xmppListenerThread = xmppListenerThread;
}

public void stopThread() {
	xmppListenerThread.stopThread();
}

}
